<?php
/**
 * 商品属性值服务层
 * @author maniac
 */
namespace app\common\service;

use app\common\model\GoodAttrValue AS GoodAttrValueModel;

class GoodAttrValue extends Base
{
    /**
     * 获取商品属性值
     * @param  array $where 查询条件
     */
    public function attrValue($where)
    {
        return GoodAttrValueModel::field('id,attr_id,attr_name,attr_value')->where($where)->order('id ASC')->select();
    }
}
